corrected the cap.py in controllers/ and cap.py in modules/s3db/ . Previous selected incidents showing up in templates as well as alerts