Fixed crucial bug in the implementation of the stored procedure
Fixed crucial bug in the implementation of the stored procedure

RepoReapers/reaper,RepoReapers/reaper,RepoReapers/reaper,RepoReapers/reaper