Fixed various errors and implemented ConsultaPorRps