changed how the monitors/elements_for_monitor queries use the $element_ids list to filter their results based on a user's permissions. Instead of passing it along in the SQL directly, we'll check element_ids afterwards when building the json. Should work better in environments with 1000+ elements