Fixed bug found in stagin. Committing to develop branch.