Fix up wrong number of detections

Schema needs to be dropped as the script to create a view has been modified. 
Needs to be reviewed and run urgently for the IMOS office.