findLatestRate stored Procedure fixed