More fn_fitsInventory optimizations