Fix completion callback when blocks are nil
Merge pull request #48 from mirego/fix-completion-callback

Fix completion callback when blocks are nil