Fix for unhandled solc exception with opcodes argument

- This should fix #631