fixed problem with apply command using object database instead of staging database
Merge pull request #68 from volaya/apply_fix

fixed problem with apply command using object database instead of stagin...