Fixed miner bugs.

Bug with Concat operation and value parameters.  Bug with missing byte
conversion for byte parameters. Re-factored If Operation.