Disable metadata mapping and try to use last table row to limit query