Fixed the column name mismatch that was causing findall query to fail