Added search functionality
Fixed some parameter issues. OPS
Fixed parameter type from STRING to INT (timestamp)