small bug fixes - changed data to filteredata in the detailview call