Attempt to limit data retrieved from database