Ensure inode lookups are within bounds