Have the database filter out mappings falling outside the Z bounds